package com.zr.beijian.service;


import com.zr.beijian.bean.BeiJian;
import com.zr.beijian.model.BeiJianSelectVo;
import com.zr.beijian.model.BeiJianUpdateVo;
import com.zr.beijian.model.BeiJianVo;
import com.zr.beijian.utils.Result;

public interface BeiJianService {
    Result add(BeiJianVo beiJianVo);

    BeiJian findById(int id);

    Result update(BeiJianUpdateVo beiJianUpdateVo);

    Result queryByCodeAndName(BeiJianSelectVo beiJianSelectVo);

    void delete(int id);
}
